package com.hospital.ecard.cardhandler;

import com.hospital.common.core.module.entity.ecard.BarcodeLogEntity;

import javax.servlet.http.HttpServletRequest;

/**
 * @author lvyao
 * @description 策略类
 * @date 2020/7/7
 */
public class CardHandlerStrategy {

    private CardHandler cardHandler;

    public CardHandlerStrategy(CardHandler cardHandler){
        this.cardHandler=cardHandler;
    }

    public String getInfo(BarcodeLogEntity barcodeLogEntity, HttpServletRequest request){
        return this.cardHandler.dealCardInfo(barcodeLogEntity,request);
    }
}
